package org.dairy.farms.model;

import javax.persistence.CascadeType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToOne;

/**
 * Created by IntelliJ IDEA.
 * User: gduggira
 * Date: Jun 10, 2011
 * Time: 4:56:36 PM
 */
@Entity
@DiscriminatorValue(value = "LIVESTOCK_CHECKUP_EXPENSE")
public class CheckupExpense extends Expense{
    /*@OneToOne(mappedBy = "checkupExpense", cascade = CascadeType.ALL)
    private Checkup checkup;*/

    /*public Checkup getCheckup() {
        return checkup;
    }

    public void setCheckup(Checkup checkup) {
        this.checkup = checkup;
    }*/
}
